
const express=require('express')
const pool=require('../db')
const router=express.Router()
//接口  byd——yuan
router.get('/',(req,res)=>{
  pool.query('select * from byd_yuan',(err,r)=>{
    if(err){throw err}
    console.log(r);
    res.send(r)
  })
})
module.exports=router